package com.dianban.entity;

import java.util.Date;

/**
 *   `id` int(11) NOT NULL AUTO_INCREMENT,
 *   `type` enum('normal','virtual') NOT NULL DEFAULT 'normal' COMMENT '商品类型:normal=实体商品,virtual=虚拟商品',
 *   `title` varchar(100) NOT NULL COMMENT '标题',
 *   `team_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '团队ID',
 *   `subtitle` varchar(255) DEFAULT NULL COMMENT '副标题',
 *   `status` enum('up','hidden','down','spwd') NOT NULL COMMENT '商品状态:up=上架,hidden=隐藏商品,down=下架,spwd=口令',
 *   `weigh` int(11) NOT NULL DEFAULT '0' COMMENT '排序(从大到小)',
 *   `category_ids` varchar(120) DEFAULT NULL COMMENT '所属分类',
 *   `image` varchar(255) DEFAULT NULL COMMENT '商品主图',
 *   `images` varchar(2500) DEFAULT NULL COMMENT '轮播图',
 *   `params` varchar(2500) DEFAULT NULL COMMENT '参数详情',
 *   `content` text COMMENT '图文详情',
 *   `price` varchar(20) NOT NULL COMMENT '价格',
 *   `original_price` decimal(10,2) NOT NULL DEFAULT '0.00' COMMENT '原价',
 *   `purchase_price` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '成本',
 *   `is_sku` tinyint(1) NOT NULL DEFAULT '0' COMMENT '是否多规格',
 *   `likes` int(11) NOT NULL DEFAULT '0' COMMENT '收藏人数',
 *   `views` int(11) NOT NULL DEFAULT '0' COMMENT '浏览人数',
 *   `sales` int(11) NOT NULL DEFAULT '0' COMMENT '销量',
 *   `show_sales` int(11) NOT NULL COMMENT '显示销量',
 *   `service_ids` varchar(255) DEFAULT NULL COMMENT '服务标签',
 *   `dispatch_type` set('express','selfetch','store','autosend') DEFAULT NULL COMMENT '发货方式:express=物流快递,selfetch=用户自提,store=商家配送,autosend=自动发货',
 *   `dispatch_ids` varchar(255) DEFAULT NULL COMMENT '发货模板',
 *   `createtime` int(11) DEFAULT NULL COMMENT '添加时间',
 *   `updatetime` int(11) DEFAULT NULL COMMENT '更新时间',
 *   `deletetime` int(11) DEFAULT NULL COMMENT '删除时间',
 *   `mode` tinyint(1) unsigned NOT NULL DEFAULT '2' COMMENT '模式:1=定制,2=商城',
 *   `energy` decimal(10,2) unsigned NOT NULL DEFAULT '0.00' COMMENT '奖励积分数',
 *   `supplier_id` int(10) unsigned NOT NULL DEFAULT '0' COMMENT '供应商',
 *   `sale_method` enum('on_sale','pre_sale') NOT NULL DEFAULT 'on_sale' COMMENT '销售方式:on_sale=现售,pre_sale=预售',
 *   `spwd` varchar(25) NOT NULL DEFAULT '' COMMENT '口令',
 *   `newcategory_id` int(10) unsigned DEFAULT '0' COMMENT '新商品分类',
 */
public class JwShoproGoods {

    private Long id;
    private String title;
    private String subtitle;
    private String status;
    private Integer weigh;
    private String categoryIds;
    private String image;
    private String images;
    private String params;
    private String content;
    private String price;
    private String mode;

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getTitle() {
        return title;
    }

    public void setTitle(String title) {
        this.title = title;
    }

    public String getSubtitle() {
        return subtitle;
    }

    public void setSubtitle(String subtitle) {
        this.subtitle = subtitle;
    }

    public String getStatus() {
        return status;
    }

    public void setStatus(String status) {
        this.status = status;
    }

    public Integer getWeigh() {
        return weigh;
    }

    public void setWeigh(Integer weigh) {
        this.weigh = weigh;
    }

    public String getCategoryIds() {
        return categoryIds;
    }

    public void setCategoryIds(String categoryIds) {
        this.categoryIds = categoryIds;
    }

    public String getImage() {
        return image;
    }

    public void setImage(String image) {
        this.image = image;
    }

    public String getImages() {
        return images;
    }

    public void setImages(String images) {
        this.images = images;
    }

    public String getParams() {
        return params;
    }

    public void setParams(String params) {
        this.params = params;
    }

    public String getContent() {
        return content;
    }

    public void setContent(String content) {
        this.content = content;
    }

    public String getPrice() {
        return price;
    }

    public void setPrice(String price) {
        this.price = price;
    }

    public String getMode() {
        return mode;
    }

    public void setMode(String mode) {
        this.mode = mode;
    }
}
